WPForms\Integrations\Gutenberg\FormSelector A

Total Complexity 57
Dependencies 3
Dependents 1
Total lines 1,087
Lines of code 580
Logical lines of code 143
Comment lines 317
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
register_block()
A
33 1 146
get_localize_data()
A
29
1 141
output_css_vars()
S
54 6 21
get_content()
S
46 4 45
add_class_callback()
S
54 5 20
enqueue_block_editor_assets()
S
45 3 48
maybe_override_block_attributes()
S
61 5 11
register_styles()
S
54 4 22
get_form_html()
S
56 4 17
output_custom_css()
S
57 3 17
get_form_list()
S
57 3 16
is_gb_editor()
S
76 4 3
replace_wpforms_frontend_container_class_filter()
S
63 3 10
disable_fields_in_gb_editor()
S
56 1 23
form_action_filter()
S
71 2 6
protected_permissions_callback()
S
75 1 4
load()
S
67 1 7
enable_block_translations()
S
80 1 3
protected_data_callback()
S
75 1 4
register_api_route()
S
76 1 4
is_legacy_block()
S
78 1 3
hooks()
S
69 1 6
allow_load()
S
80 1 3